

var TopMenuFunc = {}

TopMenuFunc.ShowUserInfo = function () {

}

TopMenuFunc.ModifyUserPwd = function () {

}


TopMenuFunc.ChangeUserTheme = function (theme) {
    console.log(theme);
    let obj = {
        ThemeName: theme
    }
    G.post("/SystemManager/SystemUserTheme/AddOrUpdateSystemUserTheme", obj, function (res) {

    })
}

TopMenuFunc.LogOut = function () {
    G.getJSON("/Logout", null, function () {
        location.href = "/Login";
        location.reload();
    });

}








window.top.TopMenuFunc = TopMenuFunc;